package org.vectrics.project.task;

import org.vectrics.common.db.Voidable;
import org.vectrics.provider.CoreServiceLocator;

public class TaskStatusType implements Voidable {
	private String code = null;
	private String phraseCode = null;
	private boolean voided = false;

	public static String TASK_STATUS_CREATED_CODE = "created";
	public static String TASK_STATUS_ASSIGNED_CODE = "assigned";
	public static String TASK_STATUS_PENDING_CODE = "pending";
	public static String TASK_STATUS_WORKING_CODE = "working";
	public static String TASK_STATUS_FINISHED_CODE = "finished";
	public static String TASK_STATUS_APPROVED_CODE = "approved";
	
	
	public TaskStatusType() {
		super();
	}


	/**
	 * @return Returns the code.
	 */
	public String getCode() {
		return code;
	}


	/**
	 * @param code The code to set.
	 */
	public void setCode(String code) {
		this.code = code;
	}


	/**
	 * @return Returns the phraseCode.
	 */
	public String getPhraseCode() {
		return phraseCode;
	}


	/**
	 * @param phraseCode The phraseCode to set.
	 */
	public void setPhraseCode(String phraseCode) {
		this.phraseCode = phraseCode;
	}


	/**
	 * @return Returns the voided.
	 */
	public boolean getVoided() {
		return voided;
	}


	/**
	 * @param voided The voided to set.
	 */
	public void setVoided(boolean voided) {
		this.voided = voided;
	}

}
